package com.zhiyou.app.common.vo.resp;

import lombok.AllArgsConstructor;
import lombok.Getter;

@AllArgsConstructor
@Getter
public enum BizResponseCode implements ResponseCode {
    SUCCESS("00200", "成功"),
    FAIL("00500", "失败"),
    PARAM_ERROR("00002", "参数错误"),
    NOT_FOUND("00003", "找不到资源"),
    NOT_LOGIN("00004", "未登录"),
    NOT_AUTH("00005", "未授权"),
    AUTH_ERROR("000051", "登录失败"),
    NOT_FOUND_USER("00006", "找不到用户"),
    NOT_FOUND_APP("00007", "找不到应用"),
    NOT_FOUND_APP_TYPE("00008", "找不到应用类型"),
    NOT_FOUND_APP_VERSION("00009", "找不到应用版本"),
    NOT_FOUND_APP_VERSION_TYPE("00010", "找不到应用版本类型"),
    WECHAT_LOGIN_ERROR("00011", "微信登录失败"),
    INVITATION_CODE_ERROR("00011", "邀请码错误");
    /**
     * 编码
     */
    private final String code;
    /**
     * 消息
     */
    private final String msg;
}
